import java.io.IOException;
import java.net.MalformedURLException;
import java.util.ArrayList;

public class ClassReferenceGenerator {
	ArrayList<String> departmentList = new ArrayList<String>();
	ArrayList<String> termList = new ArrayList<String>();
	ArrayList<ClassModel> classList = new ArrayList<ClassModel>();
	
	
	public void gatherClassReferences() throws MalformedURLException, IOException{
		ClassSearchPage csp = new ClassSearchPage();
		departmentList = csp.getDepartmentNames();
		termList = csp.getTerm();
		
	/*	for(String aterm: termList)
		{
			for(String aDept : departmentList){
				ClassQueryPage page = new ClassQueryPage(aterm, aDept);
				page.getClasses();
			}
		}*/
		ClassQueryPage page = new ClassQueryPage("S2012", "CPR E");
		page.getClasses();
	}
	
	
}
